package larrys.pomodoro.domain.entity;

import java.util.Date;

public class Activity {

	private long id;
	private String name;
	private long userId;
	private String description;
	private String comment;
	private int estimation;
	private Date planDate;
	private int priority;

	private boolean permanent;
	private boolean finished;

	public Activity(long id, String name, long userId, boolean permanent,
			boolean finished) {
		this.id = id;
		this.name = name;
		this.userId = userId;
		this.permanent = permanent;
		this.finished = finished;
	}

	public long getId() {
		return id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public long getUserId() {
		return userId;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public int getEstimation() {
		return estimation;
	}

	public void setEstimation(int estimation) {
		this.estimation = estimation;
	}

	public boolean isPermanent() {
		return permanent;
	}

	public boolean isFinished() {
		return finished;
	}

	public Date getPlanDate() {
		return planDate;
	}

	public void setPlanDate(Date planDate) {
		this.planDate = planDate;
	}

	public int getPriority() {
		return priority;
	}

	public void setPriority(int priority) {
		this.priority = priority;
	}

	@Override
	public String toString() {
		return "Activity [id=" + id + ", name=" + name + ", userId=" + userId
				+ ", description=" + description + ", comment=" + comment
				+ ", estimation=" + estimation + ", planDate=" + planDate
				+ ", priority=" + priority + ", permanent=" + permanent
				+ ", finished=" + finished + "]";
	}

}
